-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major update of Telescope class #631
Conversation
…stations (antennas) 🕜
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Some comments to address.
The failing CI-pipeline is not related to this PR, thus the test is ignored for this review.
0880af9
to
c7f621f
Compare
* Title of plot set to "Site Overview" because there are no antennas in the plot
* Removed obsolete function to plot RASCIL configuration
I would like to close this pull request. I addressed most of the comments. But there is more work to do for the |
What's the reason why you want this to be merged asap? Because of the release? I personally don't like to introduce potential misbehavior into main, when the issue should get addressed anyway. I am more in favor of leaving this PR open and you can focus on the other issue in a separate branch in case you want to merge it before the release. |
Baseline functions of the Telescope class (e.g.
max_baseline
orget_stations_wgs84
) now have the same output for OSKAR and RASCIL backends. Thus, the two code examples in issue #629 now work as expected. The main work was done inTelescope::constructor()
function.Other things that have been changed or adapted:
get_baselines_wgs84
toget_stations_wgs84
because it always returned coordinates of stations, not baselinesnumpy.loadtxt()
with more robust class method__read_layout_txt()
(inTelescope::_get_station_info
)test_telescope_baselines.py